<?php

require_once "core/application/models/mgmshop/mgmshop4.php";

class Mgmshop5 extends Mgmshop4 {

    private $_query;

    protected function getChars() {
        /**
         * ������ ����� �� ��������
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT `name` FROM `players` WHERE `account_id` = '$_SESSION[id]'";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>